package com.tl.test.test_common_utils;

import java.util.List;

public class CollectionsUtil {
	// 判断给定的List集合的是否为空
	public static boolean isBlank(List list) {
		if (list == null || list.size() == 0) {
			return true;
		}
		return false;
	}

	// 判断给定的List集合不为空
	public static boolean isNotBlank(List list) {
		return !isBlank(list);
	}
}
